<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>여기는 Services</title>

<script type="text/javascript" src="scripts/jquery-1.4.min.js"></script>

<script type="text/javascript">
	
	var today = new Date();
	var hour = today.getHours();
	if(hour>12) {
		hour="오후 "+(hour-12);
	} else{
		hour="오전 "+hour;
	}
	var minute = today.getMinutes();
	var second = today.getSeconds();
	var mytime = '현재시간은 '+hour+'시 '+minute+'분 '+second+'초입니다.';
	
	function writeTime() {
		document.write("<FONT COLOR=\"black\">"+mytime+"</FONT>");
	}
</script>

</head>
<body>
<section>
<h1>Services</h1>
<br/><br/>
<h2>현재 시간 표시~~~~~</h2>
<br/><br/>

	<script type="text/javascript"> 
	writeTime();
	</script>
	
</section>
</body>
</html>